/* 番茄时间选择器样式 */
.pomodoro-selector {
    position: relative;
    margin-right: 8px;
}

.pomodoro-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
}

.pomodoro-btn:hover {
    border-color: #ff4757;
    color: #ff4757;
}

.pomodoro-btn.active {
    border-color: #ff4757;
    background: #fff5f5;
    color: #ff4757;
}

.pomodoro-btn i {
    font-size: 12px;
}

.pomodoro-btn span {
    font-weight: 500;
    min-width: 12px;
    text-align: center;
}

.pomodoro-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 160px;
    display: none;
    margin-top: 4px;
}

.pomodoro-dropdown.show {
    display: block;
}

.pomodoro-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.pomodoro-option:last-child {
    border-bottom: none;
}

.pomodoro-option:hover {
    background: #f8f9fa;
}

.pomodoro-option.selected {
    background: #fff5f5;
    color: #ff4757;
}

.pomodoro-custom {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #f0f0f0;
}

.pomodoro-custom input {
    width: 50px;
    padding: 4px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
}

.pomodoro-custom span {
    font-size: 12px;
    color: #666;
}

/* 到期时间选择器样式 */
.due-date-selector {
    position: relative;
    margin-right: 8px;
}

.due-date-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
    white-space: nowrap;
}

.due-date-btn:hover {
    border-color: #2196f3;
    color: #2196f3;
}

.due-date-btn.active {
    border-color: #2196f3;
    background: #f3f8ff;
    color: #2196f3;
}

.due-date-btn.has-date {
    border-color: #4caf50;
    background: #f1f8e9;
    color: #4caf50;
}

.due-date-btn i {
    font-size: 12px;
}

.due-date-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 200px;
    display: none;
    margin-top: 4px;
}

.due-date-dropdown.show {
    display: block;
}

.due-date-quick-options {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.due-date-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: background 0.2s;
}

.due-date-option:hover {
    background: #f8f9fa;
}

.due-date-option.selected {
    background: #f3f8ff;
    color: #2196f3;
}

.due-date-custom {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.due-date-custom input[type="date"] {
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
}

.clear-due-date {
    padding: 4px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-due-date:hover {
    background: #f5f5f5;
}